﻿using AppEszköz.Config;
namespace AppEszköz.Log
{
    internal sealed class LoggerSettings
    {
        public static string Writer
        {
            get
            {
                return ConfigHelper.GetConfig("Logger.Writer");
            }
        }

        public static string SqlConnectionString
        {
            get
            {
                return ConfigHelper.GetConfig("Logger.SqlConnectionString");
            }
        }

        public static int Level
        {
            get
            {
                return int.Parse(ConfigHelper.GetConfig("Logger.Level"));
            }
        }

        public static string File
        {
            get
            {
                return ConfigHelper.GetConfig("Logger.File");
            }
        }

        public static int FileMaxKBytes
        {
            get
            {
                return int.Parse(ConfigHelper.GetConfig("Logger.FileMaxKBytes"));
            }
        }

        private LoggerSettings()
        {
        }
    }
}